<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich">
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
 </head>
    <ui:composition template="/template/templateAdmin.xhtml">
    	<ui:define name="content"> 
			<h2>
				<h:outputText value="#{msgs.bemvindo}, #{sessionScope.administrador.nome}" />
			</h2>
			<table>
				<tr>
					<td>
						<h:outputLink value="administradores.jsf">
							<h:graphicImage style="border: none" url="/images/administradores.png" title="#{msgs.administradores}"/>
						</h:outputLink>
						<h2 style="background-color: #666666">
							<h:outputText value="#{msgs.administradores}" />
						</h2>
					</td>
					<td>
						<h:outputLink value="albuns.jsf">
							<h:graphicImage style="border: none" url="/images/albuns.png" title="#{msgs.albuns}"/>
						</h:outputLink>
						<h2 style="background-color: #666666">
							<h:outputText value="#{msgs.albuns}" />
						</h2>
					</td>
					<td>
						<h:outputLink value="artistas.jsf">
							<h:graphicImage style="border: none" url="/images/artistas.png" title="#{msgs.artistas}"/>
						</h:outputLink>
						<h2 style="background-color: #666666">
							<h:outputText value="#{msgs.artistas}" />
						</h2>
					</td>
				</tr>
				<tr>
					<td>
						<h:outputLink value="categorias.jsf">
							<h:graphicImage style="border: none" url="/images/categorias.png" title="#{msgs.categorias}"/>
						</h:outputLink>
						<h2 style="background-color: #666666">
							<h:outputText value="#{msgs.categorias}" />
						</h2>
					</td>
					<td>
						<h:outputLink value="usuarios.jsf">
							<h:graphicImage style="border: none" url="/images/usuarios.png" title="#{msgs.usuarios}"/>
						</h:outputLink>
						<h2 style="background-color: #666666">
							<h:outputText value="#{msgs.usuarios}" />
						</h2>
					</td>
					<td>
						<h:outputLink value="musicas.jsf">
							<h:graphicImage style="border: none" url="/images/musicas.png" title="#{msgs.musicas}"/>
						</h:outputLink>
						<h2 style="background-color: #666666">
							<h:outputText value="#{msgs.musicas}" />
						</h2>
					</td>
				</tr>
			</table>
			<f:verbatim>
					<br />
					<br />
			</f:verbatim>
			<h:form>
				<h:commandLink styleClass="btns" value="#{msgs.sair}" action="#{loginBean.logoff}"></h:commandLink>
			</h:form>
		</ui:define>
    </ui:composition>
</html>